package com.z_talk.core.model;

import io.netty.channel.Channel;

import java.io.Serializable;


public class UserModel implements Serializable {

    private static final long serialVersionUID = -7797100954045997118L;
    private UserInfo userInfo;
    private Channel channel;

    public UserModel(UserInfo userInfo, Channel channel) {
        this.userInfo = userInfo;
        this.channel = channel;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }
}
